package ch.janotta.slawo.da.tables;

import ch.janotta.slawo.da.Ability;
import ch.janotta.slawo.da.Focus;
import ch.janotta.slawo.da.Talent;
import ch.janotta.slawo.da.modifier.Modifier;
import ch.janotta.slawo.da.modifier.ModifierFactory;

public final class ElvenCircleMageStartingModifiersTable extends CircleMageStartingModifiersTable {
  private static final Modifier[] MODIFIERS_RESULTS_TABLE = {
    ModifierFactory.getInstance(Ability.Communication),        // 2d6 ==  2
    ModifierFactory.getInstance(Talent.Speak_Elven),           // 2d6 ==  3
    ModifierFactory.getInstance(Talent.Speak_Elven),           // 2d6 ==  4
    ModifierFactory.getInstance(Focus.Healing),                // 2d6 ==  5
    ModifierFactory.getInstance(Focus.Seeing),                 // 2d6 ==  6
    ModifierFactory.getInstance(Ability.Cunning),              // 2d6 ==  7
    ModifierFactory.getInstance(Ability.Cunning),              // 2d6 ==  8
    ModifierFactory.getInstance(Focus.Cultural_Lore),          // 2d6 ==  9
    ModifierFactory.getInstance(Ability.Dexterity),            // 2d6 == 10
    ModifierFactory.getInstance(Ability.Dexterity),            // 2d6 == 11
    ModifierFactory.getInstance(Focus.Bows),                   // 2d6 == 12
  };

  @Override
  public Modifier getTableResult(int index) {
    return MODIFIERS_RESULTS_TABLE[index];
  }
}
